<?php
/**
 * Minhlog 视图助手抽象类
 *
 * LICENSE
 *
 * This source file is subject to the new BSD license that is bundled
 * with this package in the file LICENSE.txt.
 *
 * @category   View_Helper
 * @package    Frontend
 * @copyright  Copyright (c) 2009-2010 Minh.Shu Minh.Shu@gmail.com
 * @license    New BSD License
 * @author     Minh.Shu
 * @version    $Id: SideBarAbstract.php 2 2010-01-17 13:49:08Z Minh.Shu $
 * @uses viewHelper Zend_View_Helper
 */

class Minh_View_Helper_SideBarAbstract {

    public $view;

    /**
     * 设置视图对象
     * @param Zend_View_Interface $view
     * @return object
     */
    public function setView (Zend_View_Interface $view)
    {
        $this->view = $view;
        //获取缓存
        $cache = new Minh_Cache_File();
        $cache->setCacheStatus(CACHE_OPTION);
        $this->cache = $cache->getCache();
    }
}